<div id="body">
    <form method="post">
    <fieldset>
        <input type="hidden" name="id" value="{id}">
        <h2>{header_userinfo}</h2>
        {error}
        <ul class="userpage">
            <li>{name}</li>
            <li>{username}</li>
            <li>{text_registeredon} {registered}</li>
            {active}
            <li><a href="/viewfriends.php?id={id}">{text_followingxfriends}</a></li>
        </ul>
        {friend_info} {change_info}
        {user_list}
    </fieldset>
    <fieldset>
        <h2>{header_climbingstats}</h2>
        <ul class="userpage">
            <li>{text_scaledxroutes}</li>
            <li>{text_completedxtimes}<ul>
                <li>{text_blockedxtimes}</li>
            </ul></li>
        </ul>
        <img src="stats_user_completed.php?id={id}">
    </fieldset>
    <fieldset>
        <h2>{header_weekstats}</h2>
        <p>{text_weekstats_intro}</p>
        <img src="stats_user_week.php?id={id}">
        <p>{text_lastweeks}</p>
    </fieldset>
    <fieldset>
        <h2>{header_diffrange}</h2>
        <p>{text_diffrange_intro}</p>
        <img src="stats_user_difficulty_range.php?id={id}">
    </fieldset>
    <fieldset>
        <h2>{header_locationcompletion}</h2>
        <p>{text_locationcompletion_intro}</p>
        {completion_stats}
    </fieldset>
    </form>
    {latest_checkins}
</div>
